import instance from "./axios";


const cms_prefrence_areaPage = (data) => {
    return instance.request({
        url: '/mall/cms-prefrence-area/page',
        method: 'post',
        data
    })
}
const cms_prefrence_areaDelId = (id) => {
    return instance.request({
        url: '/mall/cms-prefrence-area/del/' + id,
        method: 'get'
    })
}
const cms_prefrence_areaAdd = (data) => {
    return instance.request({
        url: 'mall/cms-prefrence-area/add',
        method: 'post',
        data
    })
}
const cms_prefrence_areaEdit = (data) => {
    return instance.request({
        url: '/mall/cms-prefrence-area/edit',
        method: 'post',
        data
    })
}

export {
    cms_prefrence_areaPage,
    cms_prefrence_areaDelId,
    cms_prefrence_areaAdd,
    cms_prefrence_areaEdit,

}